import requests
url="https://v2.kwaicdn.com/ksc2/Bp6kAoP7zAsr5Uyy4yLTVYaQVMcLNrqLgwK8AlV57R75mfK54bnAYRMqmeF6XgJE-CIQlRIyvYLLn7AokOq4BNK-0Zmy01Ab03NooKSQTNEHB0r-RAy5b09RIaDBOMpF.mp4?pkey=AAVVajM-L-dVjw7j7ipQtJ8KA7bguAkSdDeBvX7cc-p-uMeFTk6Tm5g75VCc73o1m_dUM82HhdHEANqzT3_9YONOMSd4tE7inTwoptgd8aGNBUR09o-lCI2hhXpbdGe9TS8&tag=1-1713860191-unknown-0-hhlr5bt4tj-bef62e213f9946e0&clientCacheKey=3x2hwtn843hw8vy_7c0cfa68&di=1bdf4e74&bp=14944&tt=hd15&ss=vp"
resp=requests.get(url)
print(resp.status_code)
# 将数据保存在本地
# resp.content表示响应数据为非文本类型格式的内容
open("meinv.mp4","wb").write(resp.content)
resp.close()